package com.matt.domain.statistics;

import com.matt.commons.model.Domain;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * *******************************
 * Created by Ron.
 * form com.matt
 * on 2018/8/6
 * *******************************
 */
@Data
@Entity
@Table(name = "stat_nursery_count")
@EqualsAndHashCode(callSuper = true)
public class StatNurseryCount extends Domain{

    @Column(columnDefinition = " int default 0 COMMENT '客户数量' ")
    private Integer nurseryCount = 0;

    @Column(columnDefinition = " int default -1 COMMENT '额定床位数' ")
    private Integer limitCount = 0;

    @Column(columnDefinition = " varchar(32) COMMENT '园区id' ")
    private String areaId;

    @Column(columnDefinition = " longtext COMMENT '园区json' ")
    private String extendJson;

}
